<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  <head>
    <title>
		<?php if (!include_slot('PageTitle')): ?>
			EQ - Seth
		<?php endif ?>	
	</title>		
    <link rel="shortcut icon" href="/favicon.ico" />
 <?php include_javascripts();
       include_stylesheets();?>
       <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  </head>
  <body>
    <div id="container">
      <div id="menuright">
            <?php
             if ($sf_user->isAuthenticated()): 
                if (!include_slot('userMenu')):
                    $userMenu = new ioMenuItem('userMenu');
                    $userMenu->addChild($sf_user->getUsername(),  url_for('sf_guard_user_edit',$sf_user->getGuardUser()));
                    $userMenu[$sf_user->getUsername()]->addChild('Sign Out', url_for('sf_guard_signout',$sf_user->getGuardUser()));
                    echo $userMenu->render();
                endif;
             else:
                 echo "&nbsp;";
             endif ?>
      </div> 

        
      <div id="header">
          <a href="<?php echo url_for('homepage') ?>">
            <img src="/images/foxBanner.png" alt="Seth Board"/>
          </a> 
          <div id="title"><?php include_slot('Title')?> </div> 
          <div id="toolsbar"><?php include_slot('Toolsbar')?></div>
      </div>
                       
      <div id="menuleft">
            <?php
            if ($sf_user->isAuthenticated()):
                include_partial("global/menu",array("module"=>$sf_params->get("module"),"action"=>$sf_params->get("action")));
             else:
                 echo "&nbsp;";
             endif?>
      </div>
      
      <div id="content">
        <?php if ($sf_user->hasFlash('notice')): ?>
          <div class="flash_notice">
            <?php echo $sf_user->getFlash('notice') ?>
          </div>
        <?php endif ?>
 
        <?php if ($sf_user->hasFlash('error')): ?>
          <div class="flash_error">
            <?php echo $sf_user->getFlash('error') ?>
          </div>
        <?php endif ?>
         

        <div class="content">
          <?php echo $sf_content ?>
        </div>
      </div>
        
      <div id="footer">
        <div class="content">
          <span class="symfony">
            powered by Futse with <a href="http://www.symfony-project.org/">
            <img src="/images/symfony.gif" alt="symfony framework" />
            </a>
            &nbsp;
            do yourself a favour: DON'T USE <a href="https://www.google.com/intl/en/chrome/browser/"><img src="/images/IE9banned.png" alt="symfony framework" /></a>
          </span>
          <ul>
            <li><a href="http://en.wikipedia.org/wiki/Set_(mythology)" target="_blank">About Seth</a></li>
          </ul>
        </div>
      </div>
    </div>
  </body>
</html>
